package com.lc.zpyh.http.response;

import java.util.List;

public class SelectByNameBean {


    /**
     * msg : 操作成功
     * costTime : 95
     * code : 0
     * list : [{"img":"file/2021/09/03/d763cb4087db4277a4ea481756d4c139.png","price":300,"prePrice":null,"cartId":0,"name":"包子","cartCount":[{"count":0}],"id":313,"inventory":83,"is_sold_out":0,"sales":17}]
     */

    private String msg;
    private Integer costTime;
    private Integer code;
    private List<ListBean> list;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCostTime() {
        return costTime;
    }

    public void setCostTime(Integer costTime) {
        this.costTime = costTime;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * img : file/2021/09/03/d763cb4087db4277a4ea481756d4c139.png
         * price : 300
         * prePrice : null
         * cartId : 0
         * name : 包子
         * cartCount : [{"count":0}]
         * id : 313
         * inventory : 83
         * is_sold_out : 0
         * sales : 17
         */

        private String img;
        private Integer price;
        private Object prePrice;
        private Integer cartId;
        private String name;
        private Integer id;
        private Integer inventory;
        private Integer is_sold_out;
        private Integer sales;
        private List<CartCountBean> cartCount;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public Integer getPrice() {
            return price;
        }

        public void setPrice(Integer price) {
            this.price = price;
        }

        public Object getPrePrice() {
            return prePrice;
        }

        public void setPrePrice(Object prePrice) {
            this.prePrice = prePrice;
        }

        public Integer getCartId() {
            return cartId;
        }

        public void setCartId(Integer cartId) {
            this.cartId = cartId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getInventory() {
            return inventory;
        }

        public void setInventory(Integer inventory) {
            this.inventory = inventory;
        }

        public Integer getIs_sold_out() {
            return is_sold_out;
        }

        public void setIs_sold_out(Integer is_sold_out) {
            this.is_sold_out = is_sold_out;
        }

        public Integer getSales() {
            return sales;
        }

        public void setSales(Integer sales) {
            this.sales = sales;
        }

        public List<CartCountBean> getCartCount() {
            return cartCount;
        }

        public void setCartCount(List<CartCountBean> cartCount) {
            this.cartCount = cartCount;
        }

        public static class CartCountBean {
            /**
             * count : 0
             */

            private Integer count;
            private Integer cartId;

            public Integer getCartId() {
                return cartId;
            }

            public void setCartId(Integer cartId) {
                this.cartId = cartId;
            }

            public Integer getCount() {
                return count;
            }

            public void setCount(Integer count) {
                this.count = count;
            }
        }
    }
}
